package yl.hs.bmipfull.pojo.vehiclemanage;

import org.springframework.lang.Nullable;
import yl.hs.bmipfull.annotations.DBField;
import yl.hs.bmipfull.annotations.DBTable;
import yl.hs.bmipfull.pojo.BaseEntity;

import java.math.BigDecimal;

/**
 * @author 吴高丰
 * @apiNote 车辆里程数实体类
 * @since 2022年08月02日 15时19分58秒
 */
@DBTable(disName = "车辆里程数", mapCode = "truck_mileage")
public class TruckMileageEntity extends BaseEntity {

    /**
     * 主键ID
     */
    @Nullable
    private Long id;
    /**
     * 数据编号
     */
    @DBField(disName = "车辆里程数编号", mapCode = "sn", isSerialNumber = true, isRequire = true, snPrefix = "LXXX")
    private String sn;
    /**
     * 车牌号
     */
    @DBField(disName = "车牌号", mapCode = "truckplate")
    private String truckplate;
    /**
     * 车辆sn
     */
    @DBField(disName = "车辆sn", mapCode = "truckplateSn")
    private String truckplateSn;
    /**
     * 司机姓名
     */
    @DBField(disName = "车辆sn", mapCode = "driver")
    private String driver;
    /**
     * 年份
     */
    @DBField(disName = "年份", mapCode = "year")
    private int year;
    /**
     * 月份
     */
    @DBField(disName = "月份", mapCode = "month")
    private int month;
    /**
     * 当前公里数
     */
    @DBField(disName = "当前公里数", mapCode = "currentKilometers")
    private BigDecimal currentKilometers;
    /**
     * 本月公里数
     */
    @DBField(disName = "本月公里数", mapCode = "kilometersThisMonth")
    private BigDecimal kilometersThisMonth;
    /**
     * 本月加油量
     */
    @DBField(disName = "本月加油量", mapCode = "refuelingVolumeMonth")
    private BigDecimal refuelingVolumeMonth;
    /**
     * 累计加油量
     */
    @DBField(disName = "累计加油量", mapCode = "cumulativeRefuelingVolume")
    private BigDecimal cumulativeRefuelingVolume;
    /**
     * 本月加油量
     */
    @DBField(disName = "本月加油量", mapCode = "averageFuelConsumption")
    private BigDecimal averageFuelConsumption;
    /**
     * 累计加油量
     */
    @DBField(disName = "累计加油量", mapCode = "averageFuelConsumptionCumulative")
    private BigDecimal averageFuelConsumptionCumulative;
    /**
     * 照片路径
     */
    @DBField(disName = "照片路径", mapCode = "photo")
    private String photo;
    @DBField(disName = "状态", mapCode = "state")
    private int state;
    @DBField(disName = "备注", mapCode = "remark")
    private String remark;
    /**
     * 操作人
     */
    private String operator;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return this.id;
    }

    public void setSn(String sn) {
        this.sn = sn;
    }

    public String getSn() {
        return this.sn;
    }

    public void setTruckplate(String truckplate) {
        this.truckplate = truckplate;
    }

    public String getTruckplate() {
        return this.truckplate;
    }

    public void setTruckplateSn(String truckplateSn) {
        this.truckplateSn = truckplateSn;
    }

    public String getTruckplateSn() {
        return this.truckplateSn;
    }

    public void setDriver(String driver) {
        this.driver = driver;
    }

    public String getDriver() {
        return this.driver;
    }

    public void setYear(int year) {
        this.year = year;
    }

    public int getYear() {
        return this.year;
    }

    public void setMonth(int month) {
        this.month = month;
    }

    public int getMonth() {
        return this.month;
    }

    public void setCurrentKilometers(BigDecimal currentKilometers) {
        this.currentKilometers = currentKilometers;
    }

    public BigDecimal getCurrentKilometers() {
        return this.currentKilometers;
    }

    public void setKilometersThisMonth(BigDecimal kilometersThisMonth) {
        this.kilometersThisMonth = kilometersThisMonth;
    }

    public BigDecimal getKilometersThisMonth() {
        return this.kilometersThisMonth;
    }

    public void setRefuelingVolumeMonth(BigDecimal refuelingVolumeMonth) {
        this.refuelingVolumeMonth = refuelingVolumeMonth;
    }

    public BigDecimal getRefuelingVolumeMonth() {
        return this.refuelingVolumeMonth;
    }

    public void setCumulativeRefuelingVolume(BigDecimal cumulativeRefuelingVolume) {
        this.cumulativeRefuelingVolume = cumulativeRefuelingVolume;
    }

    public BigDecimal getCumulativeRefuelingVolume() {
        return this.cumulativeRefuelingVolume;
    }

    public String getPhoto() {
        return photo;
    }

    public void setPhoto(String photo) {
        this.photo = photo;
    }

    public void setOperator(String operator) {
        this.operator = operator;
    }

    public String getOperator() {
        return this.operator;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public BigDecimal getAverageFuelConsumption() {
        return averageFuelConsumption;
    }

    public void setAverageFuelConsumption(BigDecimal averageFuelConsumption) {
        this.averageFuelConsumption = averageFuelConsumption;
    }

    public BigDecimal getAverageFuelConsumptionCumulative() {
        return averageFuelConsumptionCumulative;
    }

    public void setAverageFuelConsumptionCumulative(BigDecimal averageFuelConsumptionCumulative) {
        this.averageFuelConsumptionCumulative = averageFuelConsumptionCumulative;
    }
}